﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace ScrumFactory.Services.Web {
    public partial class loginHelp : System.Web.UI.Page {

        public string SERVER_NAME {
            get {
                return Request.Url.Authority;
            }
        }

        public string APPLICATION_NAME {
            get {
                string path = HttpRuntime.AppDomainAppVirtualPath;
                if (path == "/")
                    return string.Empty;
                if (!path.StartsWith("/"))
                    path = "/" + path;
                if(path.EndsWith("/"))
                    path = path.Substring(0, path.Length-1);
                return path;
            }
        }

        protected void Page_Load(object sender, EventArgs e) {

        }
    }
}